

#ifndef UC_GEPLIN2D_H
#define UC_GEPLIN2D_H

#include "zgecurv2d.h"
#include "zgekvec.h"
#include "zgept2dar.h"
#include "zgevec2d.h"
#include "zgepnt2d.h"
#include "zgesent2d.h"
#pragma pack (push, 8)

class
GE_DLLEXPIMPORT
UcGePolyline2d : public UcGeSplineEnt2d
{
public:
    UcGePolyline2d();
    UcGePolyline2d(const UcGePolyline2d& src);
    UcGePolyline2d(const UcGePoint2dArray&);
    UcGePolyline2d(const UcGeKnotVector& knots,
                   const UcGePoint2dArray& points);

    UcGePolyline2d(const UcGeCurve2d& crv, double apprEps);

    int              numFitPoints () const;
    UcGePoint2d      fitPointAt   (int idx) const;
    UcGeSplineEnt2d& setFitPointAt(int idx, const UcGePoint2d& point);

    UcGePolyline2d& operator =     (const UcGePolyline2d& pline);
};

#pragma pack (pop)
#endif
